import request from "@/utils/request";


export const goodsList = (params) => request.get('/api/goods/list',{params})
export const goodsTypeList = () => request.get('/api/goodstype/listAll')
export const upload = () => request.post('/api/file/upload')

export const insertGoods = (obj) => request.post('/api/goods',obj)
export const updateGoods = (obj) => request.put('/api/goods',obj)


